﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Collections;
using System.Web.UI.WebControls;

namespace Mundialeitor
{
    public static class Utilidades
    {
        public static void CargarGrilla(GridView grilla, IEnumerable source)
        {
            grilla.DataSource = source;                        
            grilla.DataKeyNames = new string[] { "Id" };
            grilla.DataBind();
        }
    }
}
